package com.wanmait.demo.controller.workercontroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping("index")
    public String hello()
    {
        return "/worker/index";
    }
    @RequestMapping("hudong")
    public String hudong()
    {
        return "underwayOrder";
    }
    @RequestMapping("user")
    public String user()
    {
        return "/worker/user";
    }
    @RequestMapping("login")
    public String login()
    {
        return "/worker/login";
    }
   /* @RequestMapping("parts")
    public String parts(){
        return "/worker/parts";
    }*/
    /*@RequestMapping("notice")
    public String notice(){
        return "/worker/notice";
    }*/
    @RequestMapping("assignOrder")
    public String assignOrder(){
        return "/worker/assignOrder";
    }
}
